package com.speak.sparkadminserver.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.speak.sparkadminserver.domain.NutUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @version 1.0
 * @Author Xing
 * @Date 2023/2/17 20:53
 */
public interface NutUserService extends IService<NutUser> {
    public Page getAll(Map<String,Object> map);
    public NutUser getUser(String username);

    public boolean getUsersNumber(String username);

    public Long getId(String username);

    public NutUser getUserById(Long id);
}
